package org.genntii.warehousesystem.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("warehouse")
public class WareHouse {
    @TableId
    private int id;
    private String name;
    @TableField("city_id")
    private int cityId;
    private String address;
    private String postcode;
    private String phone;
    private int status;
    @TableField("create_time")
    private LocalDateTime createTime;
    @TableField("last_update_time")
    private LocalDateTime lastUpdateTime;
}
